Skip to main content

Trim leading whitespace (string.ltrim)

Declaration​

out = string.ltrim(text)

Parameters​

  • text
    string. Text to trim.

Returns​

  • out
    string. The text with leading whitespace removed.

Description​

Remove leading whitespace characters.
Whitespace includes "\r" "\n" "\t".

Example​

At the end of this chapter